package skipClass.java;

import java.util.ArrayList;

public class ExamQuestion
{
	private String Question;
	private ArrayList<String> BogusAnswers;
	private String RealAnswer;
	
	public static final int NOT_ATTEMPTED = 0;
	public static final int CORRECT = 1;
	public static final int WRONG = 2;
	public static final int EXCUSED = 3;
	
	private int AnsweredStatus;
	
	public ExamQuestion(String question, ArrayList<String> bogusAnswers, String realAnswer)
	{
		Question = question;
		BogusAnswers = bogusAnswers;
		RealAnswer = realAnswer;
		AnsweredStatus = NOT_ATTEMPTED;
	}
	
	public void setQuestion(String question)
	{
		Question = question;
	}
	
	public String getQuestion()
	{
		return Question;
	}
	
	public void setBogusAnswers(ArrayList<String> bogusAnswers)
	{
		BogusAnswers = bogusAnswers;
	}
	public ArrayList<String> getBogusAnswers()
	{
		return BogusAnswers;
	}
	
	public void setRealAnswer(String realAnswer)
	{
		RealAnswer = realAnswer;
	}
	
	public String getRealAnswer()
	{
		return RealAnswer;
	}
	
	public void setAnsweredStatus(int answeredStatus) 
	{
		AnsweredStatus = answeredStatus;
	}

	public int getAnsweredStatus() 
	{
		return AnsweredStatus;
	}

	@Override
	public String toString()
	{
		return Question;
	}
	
	
}
